package com.example.demo.service;

import com.example.demo.model.SysUserModel;
import com.example.demo.model.base.SysUserToken;

public interface ITokenService {

    /**
     * 创建token
     * @param sysUserModel
     * @return
     */
    SysUserToken createToken(SysUserModel sysUserModel);

    SysUserToken refreshToken(SysUserModel sysUserModel,String refreshToken);
}
